Optimal. Leaf size=46 \[ \frac {a (d+e x)^4}{4 e}+\frac {b (d+e x)^6}{6 e}+\frac {c (d+e x)^8}{8 e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {1156, 14}
\begin {gather*} \frac {a (d+e x)^4}{4 e}+\frac {b (d+e x)^6}{6 e}+\frac {c (d+e x)^8}{8 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 1156
Rubi steps
\begin {align*} \int (d+e x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right ) \, dx &=\frac {\text {Subst}\left (\int x^3 \left (a+b x^2+c x^4\right ) \, dx,x,d+e x\right )}{e}\\ &=\frac {\text {Subst}\left (\int \left (a x^3+b x^5+c x^7\right ) \, dx,x,d+e x\right )}{e}\\ &=\frac {a (d+e x)^4}{4 e}+\frac {b (d+e x)^6}{6 e}+\frac {c (d+e x)^8}{8 e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(150\) vs. \(2(46)=92\).
time = 0.03, size = 150, normalized size = 3.26 \begin {gather*} d^3 \left (a+b d^2+c d^4\right ) x+\frac {1}{2} d^2 \left (3 a+5 b d^2+7 c d^4\right ) e x^2+\frac {1}{3} d \left (3 a+10 b d^2+21 c d^4\right ) e^2 x^3+\frac {1}{4} \left (a+10 b d^2+35 c d^4\right ) e^3 x^4+d \left (b+7 c d^2\right ) e^4 x^5+\frac {1}{6} \left (b+21 c d^2\right ) e^5 x^6+c d e^6 x^7+\frac {1}{8} c e^7 x^8 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(297\) vs.
\(2(40)=80\).
time = 0.24, size = 298, normalized size = 6.48
method | result | size |
norman | \(\frac {e^{7} c \,x^{8}}{8}+d \,e^{6} c \,x^{7}+\left (\frac {7}{2} d^{2} e^{5} c +\frac {1}{6} b \,e^{5}\right ) x^{6}+\left (7 d^{3} e^{4} c +b d \,e^{4}\right ) x^{5}+\left (\frac {35}{4} d^{4} e^{3} c +\frac {5}{2} b \,d^{2} e^{3}+\frac {1}{4} a \,e^{3}\right ) x^{4}+\left (7 c \,d^{5} e^{2}+\frac {10}{3} b \,d^{3} e^{2}+d \,e^{2} a \right ) x^{3}+\left (\frac {7}{2} c \,d^{6} e +\frac {5}{2} b \,d^{4} e +\frac {3}{2} a \,d^{2} e \right ) x^{2}+\left (c \,d^{7}+b \,d^{5}+d^{3} a \right ) x\) | \(162\) |
gosper | \(\frac {x \left (3 e^{7} c \,x^{7}+24 d \,e^{6} c \,x^{6}+84 x^{5} d^{2} e^{5} c +168 c \,d^{3} e^{4} x^{4}+4 x^{5} b \,e^{5}+210 x^{3} d^{4} e^{3} c +24 b d \,e^{4} x^{4}+168 x^{2} c \,d^{5} e^{2}+60 x^{3} b \,d^{2} e^{3}+84 x c \,d^{6} e +80 x^{2} b \,d^{3} e^{2}+24 c \,d^{7}+6 a \,e^{3} x^{3}+60 x b \,d^{4} e +24 x^{2} d \,e^{2} a +24 b \,d^{5}+36 x a \,d^{2} e +24 d^{3} a \right )}{24}\) | \(176\) |
risch | \(\frac {1}{8} e^{7} c \,x^{8}+d \,e^{6} c \,x^{7}+\frac {7}{2} x^{6} d^{2} e^{5} c +\frac {1}{6} x^{6} b \,e^{5}+7 c \,d^{3} e^{4} x^{5}+b d \,e^{4} x^{5}+\frac {35}{4} x^{4} d^{4} e^{3} c +\frac {5}{2} x^{4} b \,d^{2} e^{3}+\frac {1}{4} x^{4} a \,e^{3}+7 x^{3} c \,d^{5} e^{2}+\frac {10}{3} x^{3} b \,d^{3} e^{2}+x^{3} d \,e^{2} a +\frac {7}{2} x^{2} c \,d^{6} e +\frac {5}{2} x^{2} b \,d^{4} e +\frac {3}{2} x^{2} a \,d^{2} e +c \,d^{7} x +b \,d^{5} x +a \,d^{3} x\) | \(176\) |
default | \(\frac {e^{7} c \,x^{8}}{8}+d \,e^{6} c \,x^{7}+\frac {\left (15 d^{2} e^{5} c +e^{3} \left (6 d^{2} e^{2} c +e^{2} b \right )\right ) x^{6}}{6}+\frac {\left (13 d^{3} e^{4} c +3 d \,e^{2} \left (6 d^{2} e^{2} c +e^{2} b \right )+e^{3} \left (4 d^{3} e c +2 d e b \right )\right ) x^{5}}{5}+\frac {\left (4 d^{4} e^{3} c +3 d^{2} e \left (6 d^{2} e^{2} c +e^{2} b \right )+3 d \,e^{2} \left (4 d^{3} e c +2 d e b \right )+e^{3} \left (d^{4} c +d^{2} b +a \right )\right ) x^{4}}{4}+\frac {\left (d^{3} \left (6 d^{2} e^{2} c +e^{2} b \right )+3 d^{2} e \left (4 d^{3} e c +2 d e b \right )+3 d \,e^{2} \left (d^{4} c +d^{2} b +a \right )\right ) x^{3}}{3}+\frac {\left (d^{3} \left (4 d^{3} e c +2 d e b \right )+3 d^{2} e \left (d^{4} c +d^{2} b +a \right )\right ) x^{2}}{2}+d^{3} \left (d^{4} c +d^{2} b +a \right ) x\) | \(298\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 155 vs.
\(2 (40) = 80\).
time = 0.29, size = 155, normalized size = 3.37 \begin {gather*} \frac {1}{8} \, c x^{8} e^{7} + c d x^{7} e^{6} + \frac {1}{6} \, {\left (21 \, c d^{2} e^{5} + b e^{5}\right )} x^{6} + {\left (7 \, c d^{3} e^{4} + b d e^{4}\right )} x^{5} + \frac {1}{4} \, {\left (35 \, c d^{4} e^{3} + 10 \, b d^{2} e^{3} + a e^{3}\right )} x^{4} + \frac {1}{3} \, {\left (21 \, c d^{5} e^{2} + 10 \, b d^{3} e^{2} + 3 \, a d e^{2}\right )} x^{3} + \frac {1}{2} \, {\left (7 \, c d^{6} e + 5 \, b d^{4} e + 3 \, a d^{2} e\right )} x^{2} + {\left (c d^{7} + b d^{5} + a d^{3}\right )} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 137 vs.
\(2 (40) = 80\).
time = 0.32, size = 137, normalized size = 2.98 \begin {gather*} \frac {1}{8} \, c x^{8} e^{7} + c d x^{7} e^{6} + \frac {1}{6} \, {\left (21 \, c d^{2} + b\right )} x^{6} e^{5} + {\left (7 \, c d^{3} + b d\right )} x^{5} e^{4} + \frac {1}{4} \, {\left (35 \, c d^{4} + 10 \, b d^{2} + a\right )} x^{4} e^{3} + \frac {1}{3} \, {\left (21 \, c d^{5} + 10 \, b d^{3} + 3 \, a d\right )} x^{3} e^{2} + \frac {1}{2} \, {\left (7 \, c d^{6} + 5 \, b d^{4} + 3 \, a d^{2}\right )} x^{2} e + {\left (c d^{7} + b d^{5} + a d^{3}\right )} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 178 vs.
\(2 (34) = 68\).
time = 0.03, size = 178, normalized size = 3.87 \begin {gather*} c d e^{6} x^{7} + \frac {c e^{7} x^{8}}{8} + x^{6} \left (\frac {b e^{5}}{6} + \frac {7 c d^{2} e^{5}}{2}\right ) + x^{5} \left (b d e^{4} + 7 c d^{3} e^{4}\right ) + x^{4} \left (\frac {a e^{3}}{4} + \frac {5 b d^{2} e^{3}}{2} + \frac {35 c d^{4} e^{3}}{4}\right ) + x^{3} \left (a d e^{2} + \frac {10 b d^{3} e^{2}}{3} + 7 c d^{5} e^{2}\right ) + x^{2} \cdot \left (\frac {3 a d^{2} e}{2} + \frac {5 b d^{4} e}{2} + \frac {7 c d^{6} e}{2}\right ) + x \left (a d^{3} + b d^{5} + c d^{7}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 169 vs.
\(2 (40) = 80\).
time = 5.40, size = 169, normalized size = 3.67 \begin {gather*} \frac {1}{2} \, {\left (x^{2} e + 2 \, d x\right )} c d^{6} + \frac {3}{4} \, {\left (x^{2} e + 2 \, d x\right )}^{2} c d^{4} e + \frac {1}{2} \, {\left (x^{2} e + 2 \, d x\right )}^{3} c d^{2} e^{2} + \frac {1}{2} \, {\left (x^{2} e + 2 \, d x\right )} b d^{4} + \frac {1}{8} \, {\left (x^{2} e + 2 \, d x\right )}^{4} c e^{3} + \frac {1}{2} \, {\left (x^{2} e + 2 \, d x\right )}^{2} b d^{2} e + \frac {1}{6} \, {\left (x^{2} e + 2 \, d x\right )}^{3} b e^{2} + \frac {1}{2} \, {\left (x^{2} e + 2 \, d x\right )} a d^{2} + \frac {1}{4} \, {\left (x^{2} e + 2 \, d x\right )}^{2} a e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 141, normalized size = 3.07 \begin {gather*} x\,\left (c\,d^7+b\,d^5+a\,d^3\right )+\frac {e^5\,x^6\,\left (21\,c\,d^2+b\right )}{6}+\frac {c\,e^7\,x^8}{8}+\frac {e^3\,x^4\,\left (35\,c\,d^4+10\,b\,d^2+a\right )}{4}+\frac {d^2\,e\,x^2\,\left (7\,c\,d^4+5\,b\,d^2+3\,a\right )}{2}+\frac {d\,e^2\,x^3\,\left (21\,c\,d^4+10\,b\,d^2+3\,a\right )}{3}+d\,e^4\,x^5\,\left (7\,c\,d^2+b\right )+c\,d\,e^6\,x^7 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________